package com.erp.gather.domain.bo;

import com.ruoyi.common.core.web.oldDomain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户店铺商品分组业务对象 erp_seller_store_group
 *
 * @author erp
 * @date 2023-11-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ErpSellerStoreGroupBo extends BaseEntity {

    /**
     * 主键
     */
//    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 分组名
     */
//    @NotBlank(message = "分组名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String groupName;

    /**
     * 备注
     */
//    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String memo;

    /**
     * 速卖通分组id
     */
//    @NotBlank(message = "速卖通分组id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String groupId;

    /**
     * 上级
     */
//    @NotNull(message = "上级不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long parentId;

    /**
     * 同步状态
     */
//    @NotNull(message = "同步状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long synchronizationStatus;

    /**
     * 状态
     */
//    @NotNull(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long status;

    /**
     * 店铺id
     */
//    @NotNull(message = "店铺id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long storeId;

    /**
     * 乐观锁
     */
//    @NotBlank(message = "乐观锁不能为空", groups = { AddGroup.class, EditGroup.class })
    private String revision;

    private Long userId;


}
